module.exports = {
    connect: function (name, host, port, user, password, successCallback, errorCallback) {
        cordova.exec(successCallback, errorCallback, "SSHClient", "connect", [name, host, port, user, password]);
    },
    execute: function(name, command, successCallback, errorCallback) {
        cordova.exec(successCallback, errorCallback, "SSHClient", "execute", [name, command]);
    },
    close: function(name, successCallback, errorCallback) {
        cordova.exec(successCallback, errorCallback, "SSHClient", "close", [name]);
    }
};
